Skip to content

Disable Chrome cache to save disk space#52

Open
rganchev wants to merge 1 commit intomainfrom
disable-chrome-cache
Open

Disable Chrome cache to save disk space#52
rganchev wants to merge 1 commit intomainfrom
disable-chrome-cache

Conversation

@rganchev
Copy link
Copy Markdown
Contributor

Chrome creates "user data" directories on every run and stores various caches inside them. We have little use of them because of the way we use Puppeteer. They build up in time and consume a lot of disk space. I have disabled them here in order to save disk space.

@rganchev
Copy link
Copy Markdown
Contributor Author

While debugging memory problems on our dev environment, I found a large directory of Chrome user data and thought that the memory problems would be mitigated by the fix in this PR. However, later, the memory problems were associated with Docker cache issues and were fixed in a different manner, so at this point I am not certain whether this PR actually fixes anything. Until I verify whether it does, I prefer not to merge it. If I can't find an evidence that Chrome actually leaks user data and consumes disk space, I would rather remove this fix than risk merging it and breaking something else.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants